import Home from "../pages/Home";
const dynamicRoutes = [
  {
    path: "/",
    component: Home,
    children: [] //子页面需要另外配置
  },
  {
    path: "*",
    component: () => import(/*webpackChunkName:'page404' */ "../pages/page404")
  } //配置404页面
];
export default dynamicRoutes;
